package com.heiye.blog.ai.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author: heiye
 * @date: 2025/11/05 下午7:48
 * @version: v1.0.0
 * @description: 能力标签枚举
 */
@Getter
@AllArgsConstructor
public enum CapabilityLabelEnum {
    // 文本转语音
    TTS("TTS"),
    ;

    private final String code;

    public static CapabilityLabelEnum getCapabilityLabelEnum(String code) {
        for (CapabilityLabelEnum value : values()) {
            if (value.code.equals(code)) {
                return value;
            }
        }
        return null;
    }
}
